package com.software.practicecenter.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @Author xiaoliao
 * @Date 2023/5/31 11:15
 */
@Entity
@Data
public class PracticeRecord {
    @Id
    private String id;
    private Integer usedTime;
//    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "MM月dd号",timezone = "GMT+8")
    private String date;
    private String questions;
    private String answers;
    private String userId;
    private String belongChapter;
}
